
<form id="form_add">
<input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td align="right">帐号：</td>
		<td colspan="3"><select name='account'>
      {[html_options options=$account_option selected=2]}
      </select></td>		
	</tr>
	<tr>
		<td align="right">摘要：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55">{[$result.emp_t]} {[$result.name]} 报销 {[$result.id]}</textarea></td>
	</tr>
	<tr>
		<td width="20%" align="right">币种：</td>
		<td width="30%"><select name='currency'>
      {[html_options options=$currency_option selected=$result.currency]}
      </select></td>
		<td width="20%" align="right"></td>
		<td width="30%"></td>
	</tr>
	<tr>
		<td align="right">收入：</td>
		<td><input type="text" name="income" value="" size="12"></td>
		<td align="right">日期：</td>
		<td><input type="text" name="date" id="date" value="{[$smarty.now|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">支出：</td>
		<td><input type="text" name="out" value="{[$result.total]}" size="12"></td>
		<td align="right">余额：</td>
		<td><input type="text" name="balance" value="" size="12"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="2" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/finance/borrow/add.js?r={[$smarty.now]}"></script>
